From d9c97debbbb3dc1afead9b699f07c90628ee3006 Mon Sep 17 00:00:00 2001 From: Eh2406 Date: Fri, 2 Mar 2018 08:49:42 -0500 Subject: [PATCH] This test should pass if we have tried to `update registry` evan if the command otherwise fails --- tests/testsuite/generate_lockfile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsuite/generate_lockfile.rs b/tests/testsuite/generate_lockfile.rs index efd0c6124..8419df169 100644 --- a/tests/testsuite/generate_lockfile.rs +++ b/tests/testsuite/generate_lockfile.rs @@ -88,7 +88,7 @@ fn no_index_update() { .build(); assert_that(p.cargo("generate-lockfile"), - execs().with_status(0).with_stdout("") + execs().with_stdout("") .with_stderr_contains(" Updating registry `https://github.com/rust-lang/crates.io-index`")); assert_that(p.cargo("generate-lockfile").masquerade_as_nightly_cargo().arg("-Zno-index-update"), -- 2.30.2